package dfg;

import java.io.*;
import java.util.Scanner;
public class Exec
{

  public static void main(String[] args)
  {
  ProcessBuilder builder = new ProcessBuilder( "cmd", "/c", "ASSFormat2kimos.exe" ); 
  builder.directory( new File("V:\\Netbeans Projekte\\DemoWizard\\konverter") ); 
  Process p = null;
  try
  {
    p = builder.start();
  }
  catch (IOException e)
  {
    // TODO Automatisch erstellter Catch-Block
    e.printStackTrace();
  } 

  Scanner s = new Scanner( p.getInputStream() ).useDelimiter( "\\Z" ); 
  System.out.println( s.next() );
  }
}
